package com.jinxiangyang.service;

import com.jinxiangyang.domain.Teacher;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jinxiangyang.domain.vo.TeacherQueryVo;
import com.jinxiangyang.utils.result.AjaxResult;
import org.springframework.web.multipart.MultipartFile;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author jinxiangyang
 * @since 2023-08-12
 */
public interface TeacherService extends IService<Teacher> {

    AjaxResult findTeacherByPage(long currentPage, long pageSize);

    AjaxResult findTeacherByQuery(long currentPage, long pageSize, TeacherQueryVo teacherQueryVo);

    boolean addTeacher(Teacher teacher);

    String avatarUpload(MultipartFile file);
}
